<?php echo $this->doctype(); ?>
<html>
	<head>
		<?php echo $this->headMeta(); ?>
		<?php echo $this->headTitle(); ?>
		<!-- iOS webapp icons -->
		<link rel="apple-touch-icon-precomposed" href="/images/touch-icon-iphone.png" />
		<link rel="apple-touch-icon-precomposed" sizes="72x72" href="/images/touch-icon-ipad.png" />
		<link rel="apple-touch-icon-precomposed" sizes="114x114" href="/images/touch-icon-retina.png" />
		
		<!-- CSS Reset -->
		<link rel="stylesheet" type="text/css" href="/css/reset.css" media="screen" />
		<!--  Fluid Grid System -->
		<link rel="stylesheet" type="text/css" href="/css/fluid.css" media="screen" />
		<!-- Theme Stylesheet -->
		<link rel="stylesheet" type="text/css" href="/css/main.theme.css" media="screen" />
		<!--  Main Stylesheet -->
		<link rel="stylesheet" type="text/css" href="/css/main.css" media="screen" />
		<!-- Demo Stylesheet -->
		<link rel="stylesheet" type="text/css" href="/css/demo.css" media="screen" />
		<!-- Styles Rewrited -->
		<link rel="stylesheet" type="text/css" href="/css/rewrite.css" media="screen" />
		
		<!-- jQuery JavaScript File -->
		<script type="text/javascript" src="/js/jquery-1.7.2.min.js"></script>
		
		<!-- jQuery-UI JavaScript Files -->
		<script type="text/javascript" src="/jui/js/jquery-ui-1.8.20.min.js"></script>
		<script type="text/javascript" src="/jui/js/jquery.ui.timepicker.min.js"></script>
		<script type="text/javascript" src="/jui/js/jquery.ui.touch-punch.min.js"></script>
		<link rel="stylesheet" type="text/css" href="/jui/css/jquery.ui.all.css" media="screen" />
		
		<!-- Plugin Files -->
		
		<!-- FileInput Plugin -->
		<script type="text/javascript" src="/js/jquery.fileinput.js"></script>
		<!-- Placeholder Plugin -->
		<script type="text/javascript" src="/js/jquery.placeholder.js"></script>
		<!-- Mousewheel Plugin -->
		<script type="text/javascript" src="/js/jquery.mousewheel.min.js"></script>
		<!-- Scrollbar Plugin -->
		<script type="text/javascript" src="/js/jquery.tinyscrollbar.min.js"></script>
		<!-- Tooltips Plugin -->
		<script type="text/javascript" src="/plugins/tipsy/jquery.tipsy-min.js"></script>
		<link rel="stylesheet" href="/plugins/tipsy/tipsy.css" />
		<!-- jGrowl Plugin -->
		<script type="text/javascript" src="/plugins/jgrowl/jquery.jgrowl.min.js"></script>
		<script type="text/javascript" src="/plugins/jgrowl/alert.js"></script>
		<link rel="stylesheet" href="/plugins/jgrowl/jquery.jgrowl.css" media="screen" />
		
		<!-- Statistic Plugin JavaScript Files (requires metadata and excanvas for IE) -->
		<script type="text/javascript" src="/js/jquery.metadata.js"></script>
		<!--[if lt IE 9]>
		<script type="text/javascript" src="/js/excanvas.js"></script>
		<![endif]-->
		
		<!-- Core JavaScript Files -->
		<script type="text/javascript" src="/js/core/main.core.js"></script>
		
		<?php echo $this->headScript(); ?>
	</head>
	<body>
		<!-- Main Customizer (remove if not needed) -->
	    <?php //echo $this->partial('admin_customizer.phtml'); ?>
	
		<!-- Main Wrapper. Set this to 'fixed' for fixed layout and 'fluid' for fluid layout' -->
		<div id="da-wrapper" class="fluid">
	    
	        <!-- Header -->
	        <div id="da-header">
	        	<?php echo $this->partial('admin_header.phtml'); ?>
	        </div>
	    
	        <!-- Content -->
	        <div id="da-content">
	            
	            <!-- Container -->
	            <div class="da-container clearfix">
	                
		            <!-- Sidebar -->
		            <?php echo $this->partial('admin_sidebar.phtml'); ?>
		            
	                <!-- Main Content Wrapper -->
	                <div id="da-content-wrap" class="clearfix">
	                
	                	<!-- Content Area -->
	                	<div id="da-content-area">                        
	                    	<?php echo $this->layout()->content; ?>
	                    </div>
	                    
	                </div>
	                
	            </div>
	            
	        </div>
	        
	        <!-- Footer -->
	        <div id="da-footer">
	        	<?php echo $this->partial('admin_footer.phtml'); ?>
	        </div>
	        
	    </div>
	</body>
</html>
